package com.qiang.test12;

import java.time.DayOfWeek;
import java.time.LocalDate;
import java.time.LocalDateTime;

public class Demo02 {
    public static void main(String[] args) {
        /*LocalDate now = LocalDate.now();
        System.out.println(now);
        System.out.println("==========");

        LocalDateTime now1 = LocalDateTime.now();
        System.out.println(now1);
        System.out.println("==========");

        int dayOfMonth = now.getDayOfMonth();
        System.out.println(dayOfMonth);
        System.out.println("==========");

        DayOfWeek dayOfWeek = now.getDayOfWeek();
        System.out.println(dayOfWeek);
        System.out.println("==========");

        int dayOfYear = now.getDayOfYear();
        System.out.println(dayOfYear);
        System.out.println("==========");*/
    }
}
